package com.example.test;

import org.lwjgl.input.Keyboard;
import org.lwjgl.input.Mouse;


public class InputController {
	private Launcher launcher;
	
	public InputController(Launcher launcher) {
		this.launcher = launcher;
	}
	
	public void detectKeyInput() {
		while(Keyboard.getEventKeyState()) {
			if(Keyboard.isKeyDown(Keyboard.KEY_W)) {
	//			launcher.camera.walkForward();
			}
			
			if(Keyboard.isKeyDown(Keyboard.KEY_A)) {
//				launcher.camera.walkBackward();				
			}
			
			if(Keyboard.isKeyDown(Keyboard.KEY_S)) {
//				launcher.camera.strafeLeft();			
			}
			
			if(Keyboard.isKeyDown(Keyboard.KEY_D)) {
//				launcher.camera.strafeRight();				
			}
		}
	}
	
	public void detectMouseInput() {
	////	launcher.camera.yaw(Mouse.getDX());
	//	launcher.camera.pitch(-Mouse.getDY());
	}
}
